package com.example.demo.service.exam;

import com.example.demo.domain.exam.ExamClassRelation;
import com.example.demo.dto.ExamClassRelationDTO;

import java.util.List;

public interface ExamClassRelationService {

    void createExamClassRelations(ExamClassRelationDTO dto);

    void deleteExamClassRelationsByClassId(Long classId);

    List<ExamClassRelation> getExamClassRelationsByUserId(Long userId);

    boolean existRelation(Long userId, Long classId);

    List<ExamClassRelation> getExamClassRelationsByClassId(Long classId);

    void deleteByClassUserId(ExamClassRelationDTO dto);

    List<ExamClassRelation> getByClassIds(List<Long> classIds);

}
